use crate::parse;

mod c_plus_plus;
mod c_sharp;
mod check;
mod id;
mod java;
mod rust;

//生成代码
pub fn generate(parse_struct: &parse::Struct) -> String
{
    let check = check::generate(&parse_struct);
    let id = id::generate(&parse_struct, check);

    c_sharp::generate(parse_struct);
    //c_plus_plus::generate(parse_struct);
    //java::generate(parse_struct);

    rust::generate(id, check, parse_struct)
}
